Skip to main content

2.17.3. Response

FieldDescriptionType
idDiscount IDinteger
nameDiscount namestring
time_fromDiscount start time HH:mmstring
time_toDiscount expiration time HH:mmstring
discountDiscount percentagefloat
discount_typeDiscount type: 0 – regular, 1 – cumulativeinteger
type_saleAccumulation type: 1 – by check, 2 – by clientinteger
cntAmount of accumulation to receive a discountinteger
days_of_weekDays of the week, bitmask, for all days - 127integer
client_category_idID of the category of clients for which the discountinteger
clients_only1 – for all regular customers, 2 – for birthdaysinteger
days_cntNumber of days the birthday discount is validinteger
department_idID of the department where the discount is appliedinteger
assort_idID of the product that is subject to the discountinteger
ref_assort_idProduct ID for accumulationinteger
grp_idID of the assortment group for which the discount appliesinteger
ref_grp_idAssortment group ID for accumulationinteger
summa_fromCheck amount from which the discount is validfloat
summa_toCheck amount up to which the discount is validfloat

Error codes​

FieldDescription
200Done
500HTTP code 500 with error message